package cn.ffcs.base.web;

import java.util.ArrayList;

import org.hibernate.criterion.Criterion;

public class CriterionList extends ArrayList
{
    public final Criterion getParas(final int index) {   
        return (Criterion) super.get(index);   
    }   
    public final void addPara(final int index, final Criterion p) {   
        super.add(index, p);   
    }   
    public final void addPara(final Criterion p) {   
        super.add(p);   
    }   
    public final int indexofPara(final Criterion p) {   
        return super.indexOf(p);   
    }   
    public final void removePara(final int index) {   
        super.remove(index);   
    }   
}
